package com.minivision.sdktestdemo.ui;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.minivision.sdktestdemo.R;
import com.minivision.sdktestdemo.controler.ui.activity.ThemeColorControler;
import com.minivision.sdktestdemo.theme.utils.ThemeUtils;

public class ThemeChangeActivity extends AppCompatActivity {

    private ThemeColorControler mControler;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_theme_change);
        mControler = new ThemeColorControler(this);
        ThemeUtils.changeTheme(this, R.id.layout_main);
    }

    @Override
    public void onBackPressed() {
        super.onBackPressed();
        overridePendingTransition(R.anim.push_right_in, R.anim.push_right_out);
    }
}
